package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
// @Component // 交给ioc容器管理成为一个bean
@ConfigurationProperties(prefix = "sky.alioss") // 读取配置文件中sliyun.oss
public class AliOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
